<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>flex-basis属性应用</title>
		<style type="text/css">
			.box{
				width: 200px;
				height: 100px;
				margin-bottom: 10px;
				border: 3px solid red;
				display: flex;	 
				align-items: center; 
			}
			.box div{
				width: 100px;
				/*height: 40px;*/
				border: 1px solid blue;
			}
			
			.box div:nth-of-type(3){align-self: stretch;}
			
		</style>
	</head>
	<body>
		<div class="box">
			<div>1</div>
			<div>2</div>
			<div>3</div>
		</div>
	</body>
</html>
